const express=require('express')
let app=express()

app.use(express.static('../tabs'))
const data=require('./mock/data.json')
// console.log(data)
app.get('/api/data',(req,res)=>{
    res.send({
        code:200,
        data,
    })
})

app.listen(8081,()=>console.log('峰'))